package drg_group.wuhan_2022.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.wuhan_2022.Base;
import drg_group.wuhan_2022.MedicalRecord;
import drg_group.wuhan_2022.ADRG.*;

public class MDCC{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"H35.000x020","H16.805","Q87.005","H33.303","T26.200x001","H40.503","T15.900","H18.504","H44.600x002","H52.500","H04.302","H54.600","D31.600","A18.500x010+H32.0*","B30.000+H19.2*","H04.508","H21.501","H35.000x004","Z42.004","H50.801","H53.500x006","T85.800x805","H01.801","S04.100","H31.000x001","H27.900","H40.101","H49.800","H26.802","H33.500x002","S01.000x002","T26.900x001","H33.000","Q13.202","B02.306+H22.0*","H53.000x001","Q10.600","H16.302","H02.700x001","H43.805","H11.405","H44.103","H40.000","H34.000","H11.802","H33.200","E14.300x033+H36.0*","D18.000x804","Q15.000x001","H50.800x006","Z42.003","T85.300x009","H44.003","H05.200","T26.400","H11.100x007","E10.300x047+H36.0*","H35.702","H55.x00x005","C79.405","D09.200","H01.101","Q13.101+H42.8*","H35.602","H54.601","A30.900x007+H32.0*","Q14.102","H04.602","A36.801+H13.1*","H15.805","H16.200x001","D31.605","H53.100","H40.401","H02.501","H04.509","H44.002","H47.200x003","Q14.104","H34.203","H35.007","Q14.000x006","E14.300x053+H36.0*","H40.800x004","H44.503","H10.300","A21.100","T26.800x001","H20.101","Q10.301","H11.400","H04.200","H01.100","H11.803","H05.800","T85.202","C69.901","T85.302","D48.704","H25.800","H16.005","S05.101","S05.800x001","E11.300x012+H36.0*","H43.900","H05.500x001","H05.900x004","H35.503","H49.808","S05.303","H31.800x002","T85.303","H59.810","T15.000","H16.300x005","H35.015","H43.800x003","D18.000x002","H52.700","H21.303","H35.300x011","H47.200x004","Q14.200x001","H55.x00x002","H25.900","E11.300x047+H36.0*","H53.400x006","H54.200","Z48.801","C69.401","H40.000x002","Q13.201","H50.300x004","B30.200+H13.1*","T85.311","E14.300x045+H36.0*","Q13.405","S05.100x004","Q10.304","C69.800","D22.100x004","B89.x02+H06.1*","H53.102","H02.800x011","Q13.300","S05.206","H54.500","H49.807","H04.001","H11.800x005","H50.400","H05.800x006","H47.303","H30.200","Q10.307","H33.001","H18.000","S05.204","H33.401","H34.800","H44.700x007","Q13.500x002","C44.100x002","H59.001","H18.100","H35.000x014","C69.900","H05.800x002","H50.600","E14.300x071+H36.0*","E11.300x036+H36.0*","H53.500","B02.307+H19.2*","B00.505+H22.0*","H15.802","H35.500","E14.300x044+H36.0*","H18.800x014","H21.901","S05.300","H11.301","H40.800x005","H02.811","H30.901","H33.200x002","H20.100x002","H21.500","H59.800x009","H02.000","H02.502","H53.501","A51.400x005+H22.0*","H44.700x002","H53.000x004","B37.801","H21.200","H26.301","H01.100x005","H35.703","H43.802","H40.500x001","E10.300x042+H36.0*","H35.800x011","S05.001","E10.400x140+G59.0*","E14.300x032+H36.0*","A71.100x002","Q12.002","Q12.300","H04.801","H11.201","H30.000x004","S05.208","H53.400x003","H30.100x002","H30.902","H43.100x003","H33.002","H02.600","H15.801","H57.100","H16.103","H27.101","H51.801","E10.300x012+H36.0*","H15.100","H35.304","H21.500x013","T26.601","H44.600x004","H47.600x001","H18.405","H25.000","B60.100x002+H13.1*","E11.300x021+H36.0*","H26.003","C49.003","H35.400x005","T86.809","E10.300x031+H36.0*","H54.001","H51.900","D48.200x010","H59.812","H50.202","H35.300x009","H50.404","C69.604","B02.301+H58.8*","T26.001","H44.104","C69.500x003","H21.300x010","S05.200x007","H20.900","H33.301","H16.203","H21.102","H16.006","S05.300x010","H16.800x005","A20.800x005","A06.801","H43.000","A54.300x002+H19.2*","H04.003","H21.504","H26.901","E10.300x053+H36.0*","H40.501","B02.305+H22.0*","A39.801+H13.1*","Q14.200x004","H02.500","H17.000","T15.101","H16.201","H10.500","H26.200x005","I80.801","B25.802+H32.0*","H44.600x005","C69.900x001","A52.100x012+H48.1*","H16.100x004","H11.808","H20.003","H50.601","H21.401","H53.101","H31.400","H53.402","H47.500x003","S05.811","H11.900","H16.204","H04.101","D31.300","Q13.203","C69.100","H34.803","H02.400","E11.300x014+H36.0*","S05.200x004","H50.006","Q14.103","H04.901","H04.601","H44.102","H11.102","H53.801","H35.601","H44.000","S05.002","Q10.400","S05.604","H05.900x003","H40.500x008","H35.012","C69.600","H49.806","H25.002","H04.504","I86.803","A30.900x006+H19.2*","E14.300x046+H36.0*","D31.901","H11.402","Q10.306","H47.000","D31.400","A32.803","Q15.802","H11.100","H57.003","D17.700x005","Z03.801","H21.500x003","H34.201","H26.200","S05.605","D16.408","H21.200x008","H57.900","H10.400","B69.100","H50.008","H18.506","Q85.900x046","H16.303","H34.801","E10.300x021+H36.0*","H44.100x003","H21.300x005","H35.807","H18.801","H44.501","H40.100x004","H05.002","A18.502+H32.0*","S05.803","S00.100x006","D31.000x001","Q11.300","H44.900","C79.407","H04.102","H52.400","Q13.400x001","H50.403","H50.103","S05.400x002","E10.300x023+H36.0*","H53.105","A71.100","H02.800x018","H44.101","A52.702+H32.0*","E10.302+H28.0*","H18.401","E11.300x032+H36.0*","H02.805","S05.300x005","H44.700x008","H35.800x010","A36.800x006+H22.8*","H33.500","E10.300x015+H36.0*","H02.802","S00.100x001","H35.306","H40.103","H35.300x012","H53.103","S05.603","Z41.101","S05.400x001","H33.500x008","E14.300x042+H36.0*","B01.800x004","H30.900","Q14.202","H53.600","H57.000","E10.300x025+H36.0*","H20.900x004","H47.002","Q10.600x002","E50.400x001+H19.8*","H35.400x006","Q99.802","B87.200x001+H58.8*","H16.100x008","H04.505","H34.800x001","H18.501","H46.x01","H49.800x002","H53.400x007","Q12.801","H43.806","T85.800x806","H11.404","H26.002","H40.500","Q10.500x003","H02.103","H43.800x004","H50.800x003","E11.300x013+H36.0*","H02.812","E10.300x011+H36.0*","D04.101","T66.x02+H47.5*","H15.000x002","C69.502","H00.100","H20.801","H16.000x010","H11.107","E11.300x044+H36.0*","S01.102","H18.802","E50.200x001+H19.8*","H34.204","Q10.300x008","H27.800x001","H18.805","Q10.303","H02.004","H25.800x001","Q11.203","S00.202","H44.700x004","H02.506","H20.804","H21.400","H59.900","H04.303","H35.808","H57.000x003","H54.400","H34.900x001","H49.300","H17.803","H34.100","S05.903","H34.200x002","H50.101","H33.000x007","H53.500x003","H43.100","H02.801","E14.300x061+H28.0*","H40.001","H26.300x004","H33.304","Q87.800x910","T86.801","S05.804","H31.200x002","H43.800x005","D31.900","H31.100","S05.902","S00.101","D48.703","H18.002","H34.804","A18.503+H48.8*","H50.600x005","C43.100x001","H05.801","A50.001+H58.8*","H04.300x004","H04.603","H44.600x003","A71.900","T26.901","H21.300x006","H54.900","H59.804","H21.200x007","S05.305","Q10.302","E11.300x051+H42.0*","H33.102","H10.900","A74.000+H13.1*","H04.400","H11.108","H05.100","T85.309","S05.808","H21.800","H01.901","H21.302","H57.002","H40.200x010","S05.104","H21.000","H20.102","H21.900","H10.103","H26.000x005","E85.418","T85.300x007","B49.x04+H19.2*","H30.800x002","S02.801","H49.100","S01.103","I70.801","H30.100x003","C79.400x014","H35.301","H18.400x003","T26.602","T26.500x003","Q10.701","H05.005","H16.804","H18.200","Q14.200","E14.300x034+H36.0*","H16.801","E10.300x036+H36.0*","H21.300x012","H35.000x021","H35.400x007","H26.300","H11.401","S05.500x003","B00.500x009+H22.0*","S05.207","H59.800x014","H16.000x006","S05.800x008","H02.808","H18.403","H31.401","H47.500x002","H33.506","H50.000x004","B30.201+H13.1*","H52.100","H05.202","H44.901","C69.000x001","H18.300x002","S00.201","H50.005","H05.300","H04.500x004","Q10.100","T26.603","H05.201","D31.100","H40.300","H59.800x008","H44.300x003","H44.400","E14.300x054+H22.1*","Q14.300x001","E50.100x002+H13.8*","H35.800x009","A54.303+H22.0*","T85.308","H35.001","H35.008","H50.302","H34.802","H11.403","H16.300x004","H18.400","H40.202","H15.804","H02.200","H53.400x004","Q10.602","H05.100x008","Q14.203","H16.100x005","Q13.301","H26.801","E11.302+H28.0*","Q10.300x012","H31.200x006","H02.500x008","H00.001","T26.000","H05.001","T85.300x004","H35.200","H33.101","Q10.300x011","H49.809","H21.204","B00.501+H19.1*","H57.800x004","C69.601","H59.003","H49.400","H40.403","H18.404","E14.300x051+H42.0*","H34.900","H21.800x001","H44.000x002","H33.300","H11.000","L65.905","D31.502","H17.902","D31.402","E10.300x035+H36.0*","H21.508","H26.100x002","H49.200","H02.001","H50.900","H25.000x002","H44.300x001","H11.106","H21.100","H05.900x002","H18.600","H18.500x005","H20.100","H21.300x013","E11.300x024+H36.0*","S05.810","H59.803","H54.400x002","H02.300","E10.300x014+H36.0*","A18.504+H22.0*","H11.100x001","Q14.100","E10.300x032+H36.0*","S00.200","A18.501+H32.0*","H21.203","Q13.801","H49.400x001","H59.811","H51.800","Q13.401","T15.100x001","R44.100","H51.000","S05.304","Q14.200x002","T26.002","H40.505","H31.101","H50.100x004","T85.200x001","A52.102+H58.0*","T85.200","H20.800","H40.502","H40.200x007","E11.301+H36.0*","E20.902+H28.1*","H35.809","H59.806","H40.102","H05.000","H30.000","H21.502","H43.200x001","H04.401","H47.500x004","H25.000x003","H59.801","H21.500x011","E11.300x053+H36.0*","H15.000","H40.801","H52.200","D31.600x001","H47.200","H52.600","H50.806","H31.900","H35.300x007","T26.700x001","Z52.500","H35.804","H02.504","H40.100x001","H01.100x003","H25.000x007","H50.100","H20.000x004","C79.408","I70.800x003","E14.300x021+H36.0*","E10.301+H36.0*","H18.502","H35.004","H05.104","H05.800x005","H16.100x009","Q15.003","H10.101","H21.507","Q13.400x006","B00.509+H03.1*","H31.200","H40.100","C69.600x001","H05.000x002","H30.001","E10.300x045+H36.0*","H04.507","T26.605","H50.500x003","H50.004","E14.300x012+H36.0*","T26.500x002","H02.800x014","H50.402","H47.304","H50.603","S05.812","H50.100x002","Q15.002","Q15.004","S05.806","E10.300x046+H36.0*","B49.x03+H19.2*","E10.300x044+H36.0*","H33.500x006","H31.102","H35.701","H47.006","E14.300x011+H36.0*","H11.800x006","H35.500x007","T26.900","C44.101","T86.800x802","H11.807","H31.402","E14.300x043+H36.0*","C69.400","H31.000x002","H02.807","H04.104","H26.401","Q14.201","E10.303+H22.1*","H52.501","H16.200","E11.303+H22.1*","H50.800x010","S05.900","T85.903","H59.800x013","H16.800x010","H35.801","H35.400x004","H33.000x006","H44.600x007","D31.500x003","Q10.700","H57.800x003","H15.800x010","H01.100x007","H04.100","N18.508+H32.8*","H02.100","H43.804","H31.301","H50.500x004","H16.102","H53.200","H35.300","H30.201","H10.200x001","H53.800x001","T26.600x001","H59.808","H44.301","H26.202","H44.001","H05.400","H18.300x001","H11.801","H53.300x004","Q13.000","H44.700","D48.900x014+H36.8*","A18.500x002","H35.300x010","T85.312","Z44.201","H04.800x003","H35.802","T15.800x001","H04.600x003","H16.000","H01.100x006","E11.300x034+H36.0*","Q10.500x004","E12.300","H20.900x006","S05.301","T26.902","H16.301","H35.501","H50.301","B30.900","S05.802","H02.804","H43.300","H40.500x009","H49.201","H18.901","B45.801","S04.000x001","H11.104","D09.202","D31.604","H00.000x001","H18.804","T15.801","H50.001","D23.101","H47.500","E14.300x023+H36.0*","H18.500x007","Q10.401","H26.400x002","B26.801+H13.1*","E14.300x052+H22.1*","H05.204","H35.006","H15.800x009","H10.100","S05.302","H35.800x008","D86.801","B00.503+H58.8*","H11.103","S05.601","H53.000x005","H27.800","H44.802","H18.000x006","H53.001","A54.302+H13.1*","H50.200","B58.001+H32.0*","H18.500","H21.801","H21.300x008","H31.200x004","H33.000x005","S05.306","E14.400x180+G59.0*","Q11.000","H40.500x002","H18.807","H21.300x007","H04.501","H16.100","H53.100x004","H05.301","C69.501","H46.x02","H05.500","S05.209","H02.002","H50.602","H02.301","E10.300x033+H36.0*","E14.300x031+H36.0*","T86.800x812","H11.805","H11.901","H35.200x001","D04.100x001","H40.200","H02.700x008","H05.102","A50.301+H19.2*","H17.802","H34.200x004","H26.000x002","D31.601","H16.401","H52.000","H52.701","B30.301+H13.1*","H59.807","H21.802","H33.302","H46.x00","H05.004","H47.003","H53.500x004","Q12.400","R94.106","Q10.601","H16.802","Q87.800x907","H31.801","H47.302","H26.001","H30.801","H49.810","E14.300x024+H36.0*","H31.300","H50.807","H05.203","H35.500x008","B02.304+H13.1*","H53.300x003","H44.000x007","H21.201","R94.105","H50.500x002","H44.502","H16.900","B07.x02","T26.500","H52.301","H35.307","C43.101","H31.200x003","E88.906+H28.1*","A51.403+H32.0*","H44.100","H18.701","H21.200x006","A51.405+H58.8*","I72.803","H35.806","A18.500x013+H22.0*","C44.102","H00.002","C79.406","E11.300x022+H36.0*","Q10.200","H53.300x001","H49.001","E11.300x031+H36.0*","H20.803","H57.800x007","Q15.803","H40.002","H26.400x003","H33.200x004","C44.100x004","E11.300x091+H28.0*","H20.004","S04.000x004","H50.805","S05.805","S05.901","H50.200x004","H35.011","H53.401","H40.800x002","A71.100x003","H02.813","B30.300+H13.1*","A18.500x005+H32.0*","H50.106","H51.200","Q15.801","S05.200x006","H33.501","Q14.002","H10.102","H16.003","A50.300x003+H32.0*","B02.302+H19.2*","H02.704","H26.201","H25.000x005","T86.800x811","B00.508+H22.0*","H18.402","S05.202","Q14.301","H35.500x004","D03.100x003","H43.200","H25.004","H51.000x001","H02.102","H31.404","H40.000x001","H31.000x004","H31.300x004","T85.300x008","H53.300x002","H16.400","E10.300x091+H28.0*","H21.301","T85.300x001","Q15.000","S05.201","H35.600","S05.500x002","H55.x01","H53.400x005","H34.202","H53.900","H43.803","H27.000","S01.101","H57.001","H15.001","D23.100x003","H59.800x004","Q12.000","H18.702","Q14.101","H04.300x005","B05.800x001+H19.2*","H18.003","S04.000x003","D31.500x001","H40.900","E14.300x022+H36.0*","S05.600x002","T85.300x005","H57.100x002","H44.700x003","H30.000x002","E83.500x006+H28.1*","H21.200x009","E11.300x035+H36.0*","H44.401","H30.100","H59.800x007","H05.800x003","S05.307","H04.105","H21.202","H40.506","A23.900x003","Q14.003","E70.302","H05.205","H59.802","H04.305","E14.300x047+H36.0*","H33.100x005","H52.500x003","C79.200x002","H44.600x006","Q14.100x003","H04.002","H21.506","H35.700x005","H53.800x002","E14.300x091+H28.0*","H01.900","H16.001","H40.200x011","Q10.500","T85.301","C79.409","H21.200x005","H50.802","Q85.804","H40.600x002","H49.804","H44.800","H35.800x005","H21.500x015","H47.300x005","H02.000x004","E11.300x011+H36.0*","H02.702","H35.014","H16.000x001","T26.102","H50.102","H25.000x006","T26.100x001","H31.802","H44.700x005","H47.000x009","D18.000x805","Q15.900","H43.801","H50.300x002","H02.803","H35.000x017","C44.100x003","H33.503","H49.801","H02.700","H40.400","S05.602","H50.401","H20.200x001","H26.000x001","R94.101","H25.800x002","H30.900x001","H35.805","T86.810","T86.800x816","H40.000x004","H11.105","H33.100","E11.300x052+H22.1*","D31.200","H35.500x003","H31.403","H35.803","Q14.000","H04.103","H02.810","Q10.403","H02.003","H35.500x005","Q13.803","H53.104","H15.900","H27.100","H53.500x002","H05.000x006","H34.200x005","H50.201","T79.800x006","A18.500x008+H13.1*","S05.200x005","B00.500x007+H22.0*","H21.101","E11.300x045+H36.0*","H35.013","H35.900","T85.800x807","T26.100x003","Q12.800","H02.900x003","E10.300x051+H42.0*","S05.401","H16.200x006","S05.000x002","H31.302","D31.000x002","Q14.801","H25.100","H47.004","H31.901","C69.602","H40.200x009","H50.000","H49.805","T20.000x012","H31.200x005","H11.300","Q82.800x017","H02.901","H50.405","S05.900x003","H35.305","E10.300x052+H22.1*","H50.104","H04.600","S00.100x003","D23.302","Q13.100","H52.101","H18.808","H43.001","H26.400","E50.600x001+H19.8*","H05.901","H53.500x009","H02.300x004","H30.000x005","T15.800x002","H33.100x004","H21.403","H18.806","H20.200","H02.800x016","E10.300x022+H36.0*","Q12.001","A18.507+H19.0*","E14.300x014+H36.0*","H02.806","S05.103","Q11.202","H18.300","H35.002","H35.303","H21.505","D31.603","Q12.100","Q15.005","H44.302","A71.000","E11.300x033+H36.0*","A51.404+H58.8*","H50.800x007","E11.300x025+H36.0*","H21.503","H05.103","H18.800x005","B02.308+H19.0*","B00.507+H19.1*","H18.800x012","H02.101","H18.803","H35.700","H10.901","H33.400","B30.001+H19.2*","H52.500x004","H50.000x009","H18.000x004","H18.000x005","T85.310","D86.800x003+H22.1*","H54.000","Q10.402","A52.708+H58.8*","H10.500x001","H20.901","E11.300x023+H36.0*","H49.803","H52.300x002","H30.900x002","T85.304","H44.801","H04.304","H05.100x005","H49.900","H20.002","I77.004","Q11.201","H31.800x001","H33.504","E14.300x036+H36.0*","S05.200x003","T26.604","Q14.900","S05.210","H18.400x004","Q13.400x004","H50.803","E10.300x043+H36.0*","Q12.200","H16.004","H31.800x003","E10.300x013+H36.0*","H47.001","H53.500x007","H53.100x001","H16.100x006","H18.800x009","H35.302","D48.706","H50.500","H20.001","H05.900","T85.300x003","H21.500x004","B00.500x005+H19.1*","H02.809","C69.200","D23.100x002","H35.400","Q18.803","H16.100x007","C69.400x005","H21.300x011","H16.800x003","H44.402","H53.802","H50.107","H59.800x010","H53.002","H35.009","T26.401","C69.603","E14.300x035+H36.0*","T85.200x002","H35.500x009","D23.100x001","H31.800x004","H34.200","H17.901","H10.801","T85.201","A52.701+H22.0*","H10.200","H00.003","H54.300","H59.809","A50.300x002+H19.2*","H21.002","H40.200x012","H04.300","H50.200x006","H05.802","H02.503","H54.100","Q13.900","H50.105","S05.800x007","H01.000","B30.100+H13.1*","R93.800x008","H04.000x004","H26.100","H05.300x003","T85.300x006","S05.300x004","H49.800x007","Q11.100","H35.000x019","H02.703","Q11.200","E11.300x015+H36.0*","H55.x00x001","E50.300x001+H19.8*","H40.600","H20.802","D09.201","S02.811","E13.300x571+H36.0*","H35.100","H35.400x003","S05.700","D21.003","E05.902+H58.8*","E13.300x271+H36.0*","H21.300x009","H50.000x002","D31.602","E14.300x041+H36.0*","H21.510","H16.205","H18.800x007","H49.901","H59.805","H15.806","S05.801","H20.000x003","B00.502+H13.1*","H50.800x002","E11.300x043+H36.0*","H10.401","S02.311","H40.504","T26.101","H44.803","E11.300x046+H36.0*","H26.300x001","H40.203","Q11.200x001","H04.604","H02.900","H04.503","H59.800x015","S05.807","H04.000","H55.x00","H33.100x006","H21.003","Z46.000","H35.500x006","H44.700x009","H50.600x004","H16.007","H05.101","H05.500x002","S05.800x009","Q13.802","A71.101","H50.600x003","H33.502","H18.900","H11.804","H44.300","H50.804","B00.504+H03.1*","H53.400","H15.800x008","H53.300","T85.800x809","D03.100x002","B60.100x004+H19.2*","H35.010","H53.500x005","E50.500x001+H58.1*","E50.000x001+H13.8*","B58.000","H44.000x005","E11.300x041+H36.0*","Q75.500","T26.600x002","H35.005","H35.400x001","H44.200x001","S05.500x001","A18.506+H19.2*","E50.701+H19.8*","H16.402","E11.300x042+H36.0*","H21.402","H05.100x003","H59.800x011","E14.300x013+H36.0*","E14.300x025+H36.0*","H18.001","H44.600","H04.506","H16.800x014","E05.002+H06.2*","H04.900x001","Q12.900","H44.500","T26.400x001","H10.000","H16.002","E65.x00x006","H21.103","H40.200x006","S05.205","H21.104","H18.700","H33.300x006","H35.000","H53.803","H27.102","H31.000","D18.000x821","H53.500x008","B44.800x003","H31.400x003","E10.300x024+H36.0*","H50.007","T26.301","B30.800+H13.1*","D48.705","D48.700x021","H52.500x001","H31.000x005","H16.101","H02.705","H15.803","H04.500x001","H35.502","A51.402+H22.0*","D31.501","H11.200","B37.807+H48.8*","H17.100","H50.003","E14.300x015+H36.0*","Q10.000","H01.802","H50.300","H59.800x003","H16.800x006","H17.801","H25.200","T26.600x003","A50.000x001+H32.0*","H49.000","T85.800x808","H04.800x002","H51.100","H04.900","H50.100x007","B83.800x005","H47.301","H53.000","A50.300+H58.8*","H04.402","S05.102","H11.806","H50.002","B00.500x002+H58.8*","M35.005+H19.3*","H59.813","Q10.404","S04.000x002","H44.300x002","B60.100x003+H19.2*","S05.203","I70.800x007","H26.900","H35.300x008","B02.303+H03.1*","H30.903","H44.200","H18.700x005","H04.502","H10.800x001","C69.503","H59.000","T86.800x804","A52.700x015+H58.8*","B00.506+H22.0*","T90.101","S01.100","D22.100","Q13.500","E10.300x034+H36.0*","C69.300","H11.101","Q10.300","H59.002","Q14.001","H25.001","E10.300x041+H36.0*","H01.100x004","H16.803","H20.900x002","B25.800x002+H19.2*","S05.809"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCC入组条件，匹配规则：主诊断匹配");
        String result;

        result=CB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=CB4.group(record);
        if (result.length()>0){
            return result;
        }

        result=CC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=CJ1.group(record);
        if (result.length()>0){
            return result;
        }

        if (false && record.ssList!=null && record.ssList.length>0  && Base.intersect(Base.SS_VALID,record.ssList)){
            Base.groupMessages.putMessage(record.Index,"符合CQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "CQY";
        }

        result=CR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CW1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CX1.group(record);
        if (result.length()>0){
            return result;
        }

        result=CZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCC的ADRG入组条件");
        return "";
    }
}

